widget: Really remove get_preferred_xxx vfuncs
authorTimm Bäder <mail@baedert.org>
Sat, 22 Oct 2016 17:40:57 +0000 (19:40 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 22 Oct 2016 17:40:57 +0000 (19:40 +0200)
gtk/gtkwidget.h

index ad373d28f252121e2d0a5e09b31e73ea9eb0267f..d032582932fc00e005d1b6e2e364b16100cff840 100644 (file)
@@ -399,22 +399,6 @@ struct _GtkWidgetClass
 
   /* size requests */
   GtkSizeRequestMode (* get_request_mode)               (GtkWidget      *widget);
-
-  //void               (* get_preferred_height)           (GtkWidget       *widget,
-                                                         //gint            *minimum_height,
-                                                         //gint            *natural_height);
-  //void               (* get_preferred_width_for_height) (GtkWidget       *widget,
-                                                         //gint             height,
-                                                         //gint            *minimum_width,
-                                                         //gint            *natural_width);
-  //void               (* get_preferred_width)            (GtkWidget       *widget,
-                                                         //gint            *minimum_width,
-                                                         //gint            *natural_width);
-  //void               (* get_preferred_height_for_width) (GtkWidget       *widget,
-                                                         //gint             width,
-                                                         //gint            *minimum_height,
-                                                         //gint            *natural_height);
-
   void              (* measure) (GtkWidget      *widget,
                                  GtkOrientation  orientation,
                                  int             for_size,
@@ -423,8 +407,6 @@ struct _GtkWidgetClass
                                  int            *minimum_baseline,
                                  int            *natural_baseline);
 
-
-
   /* Mnemonics */
   gboolean (* mnemonic_activate)        (GtkWidget           *widget,
                                          gboolean             group_cycling);